/*
* 命名空间: LogicModel.DataModel
*
* 功 能： SysMenu实体类
*
* 类 名： SysMenuEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2019/02/26 17:33:03 罗维     创建
*
* Copyright (c) 2016 Lir Corporation. All rights reserved.
*/

namespace LogicModel.DataModel
{
    using System;
    using ToolsModel;

    /// <summary>
    /// 该数据表定义了菜单的信息
    /// </summary>
    [Serializable]
    [TableInfo(TableName = "SysMenu")]
    public class SysMenuEntity
    {

        /// <summary>
        /// 关键码
        /// </summary>
        [FieldInfo(ByteLength = 32,DataLength = 32,DecimalDigits = 0,ColumnName = "gCode",Required = false,DefaultValue = "")]
        public String Code
        {
            get; set;
        }

        /// <summary>
        /// 父级关键码
        /// </summary>
        [FieldInfo(ByteLength = 32,DataLength = 32,DecimalDigits = 0,ColumnName = "gParentCode",Required = false,DefaultValue = "")]
        public String ParentCode
        {
            get; set;
        }

        /// <summary>
        /// 菜单名称
        /// </summary>
        [FieldInfo(ByteLength = 40,DataLength = 20,DecimalDigits = 0,ColumnName = "sName",Required = false,DefaultValue = "")]
        public String Name
        {
            get; set;
        }

        /// <summary>
        /// 菜单icon
        /// </summary>
        [FieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "sIcon",Required = false,DefaultValue = "")]
        public String Icon
        {
            get; set;
        }

        /// <summary>
        /// 对应链接地址
        /// </summary>
        [FieldInfo(ByteLength = 510,DataLength = 255,DecimalDigits = 0,ColumnName = "sLinkRote",Required = false,DefaultValue = "")]
        public String LinkRote
        {
            get; set;
        }

        /// <summary>
        /// 排序字段
        /// </summary>
        [FieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "iSort",Required = false,DefaultValue = "")]
        public Int32? Sort
        {
            get; set;
        }

        /// <summary>
        /// 删除标志
        /// </summary>
        [FieldInfo(ByteLength = 1,DataLength = 1,DecimalDigits = 0,ColumnName = "bIsDeleted",Required = false,DefaultValue = "")]
        public Boolean? IsDeleted
        {
            get; set;
        }
    }
}
